package com.itheima.mapper;

import com.itheima.domain.Product;

import java.util.List;

public interface ProductMapper {
    List<Product> findAll();

    void save(Product product);

    void deleteByIds(String[] id);

    Product findById(String id);

    void update(Product product);

    void openByIds(String[] id);

    void closeByIds(String[] id);
}
